package com.zyd.shiro.persistence.beans;

import com.zyd.shiro.business.annotation.FieldValue;
import com.zyd.shiro.business.annotation.TitleValue;
import com.zyd.shiro.business.enums.MenuEnum;
import com.zyd.shiro.framework.object.AbstractDO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author jobob
 * @since 2020-08-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TitleValue(name = "资产编码规则",nume = MenuEnum.MODULE,code = "assetsCodeRule")
public class PakAssetsCodeRule extends AbstractDO {


    @FieldValue(name = "资产编码")
    private String code;

    @FieldValue(name = "资产名称")
    private String name;

    @FieldValue(name = "资产分类")
    private String categories;

    @FieldValue(name = "品牌")
    private String brand;

    @FieldValue(name = "规格型号")
    private String specificationModel;

    @FieldValue(name = "SN码")
    private String sncode;

    @FieldValue(name = "资产状态") //1待采购 2闲置 3报废 4派发中 5使用中
    private Integer status;

    @FieldValue(name = "所属部门")
    private Long dept;

    @FieldValue(name = "所在位置")
    private Long location;

    @FieldValue(name = "资产管理员")
    private Long manager;

    @FieldValue(name = "金额")
    private Double amt;

    @FieldValue(name = "计量单位")
    private String unit;

    @FieldValue(name = "采购时间")
    private Date stockTime;

    @FieldValue(name = "采购方式")
    private String stockWay;

    @FieldValue(name = "入库时间")
    private Date wareTime;

    @FieldValue(name = "资产照片")
    private String photo;

    @FieldValue(name = "备注")
    private String remark;

    @FieldValue(name = "系统用户") //ROOT ADMIN USER
    private Long user;

    @FieldValue(name = "使用部门") //1待采购 2闲置 3报废 4派发中 5使用中
    private Long useDept;



}
